package com.cwnu.onlinemall.service;

import com.cwnu.onlinemall.pojo.MallCategory;
import com.cwnu.onlinemall.pojo.MallSalesrecord;

import java.util.List;
import java.util.Locale;

public interface CategoryService {
    //查询所有记录
    public List<MallCategory> selectAll();
    //根据ID来查询情况
    public MallCategory selectById(Integer id);
    //添加记录
    public Integer insert(MallCategory mallCategory);
    //删除记录
    public Integer deleteById(Integer id);
    //修改记录
    public Integer updateById(MallCategory mallCategory);

}
